package com.lxiaodd.common;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

public class Common {

	 /**
	 * 获取当前日期 yyyy-mm-dd
	 * @return date
	 */
	public static String nowDate(){
		Date date = new Date();
		DateFormat matter = new SimpleDateFormat("yyyy-MM-dd");
		return matter.format(date);
	}
}
